package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.product.model.BaseAttrInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BaseAttrInfoMapper  extends BaseMapper<BaseAttrInfo> {
    /**
     * 根据三级分类ID查询包含平台属性列表（包含属性值）
     * @param category1Id
     * @param category2Id
     * @param category3Id
     * @return
     */
    List<BaseAttrInfo> getAttrInfoList(@Param("category1Id") Long category1Id,@Param("category2Id") Long category2Id, @Param("category3Id") Long category3Id);


}
